//
//  HECartView.m
//  HealthFamily
//
//  Created by LOOK on 2020/10/24.
//  Copyright © 2020 honglutec. All rights reserved.
//

#import "HECartView.h"

@interface HECartView()

@property(nonatomic, strong) UIImageView *imageView;

@end

@implementation HECartView

-(instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        [self initUI];
    }
    return self;
}

- (void)initUI {
    
    _imageView = [UIImageView new];
    _imageView.contentMode = UIViewContentModeScaleAspectFill;
    [self addSubview:_imageView];
    _imageView.image = IMAGE_NAMED(@"sale_car_icon");
    
    [_imageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.left.equalTo(self);
        make.width.height.mas_offset(83);
    }];
}

@end
